package com.app.modules.code.service.impl;

import com.app.modules.code.domain.Sysdbconfig;
import com.app.modules.code.mapper.SysdbconfigMapper;
import com.app.modules.code.service.SysdbconfigService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author MyBatisPlus
 * @since 2023-07-19
 */
@Service
public class SysdbconfigServiceImpl extends ServiceImpl<SysdbconfigMapper, Sysdbconfig> implements SysdbconfigService {

    @Autowired
    private SysdbconfigMapper sysdbconfigMapper;


    @Override
    public List<Sysdbconfig> selectSysdbconfigPage(String condition) {
        return sysdbconfigMapper.selectSysdbconfigPageVo(condition);
    }

    @Override
    public Sysdbconfig getSysdbconfigByid(Integer dbid) {
        return sysdbconfigMapper.getSysdbconfig(dbid);
    }
}
